<template>
  <div>
    <printIndex @getJson="getJson"></printIndex>
  </div>
</template>

<script>
import printIndex from '@/components/Print/index'
export default {
  name: 'printEdit',
  components: {
    printIndex,
  },
  data() {
    return {}
  },

  mounted() {},

  methods: {
    getJson(val){
      console.log(val, 'emit');
      this.$emit('updateJson', val)
    }
  },
}
</script>
